﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommerceOne.Domains.Commons
{
    public class FilterBrowse
    {
        private  List<SearchParam> _filterItem = new List<SearchParam>();
        public List<SearchParam> FilterItem { get { return this._filterItem; } }

        public void ParsingParam(string param)
        {
            //string[] paramters = param.Split(new char[] {'+'});
            //foreach (var str in paramters)
            //{
            //    string[] defines = str.Split(new char[] {':'});
            //    if (defines.Count() != 2) continue;
            //    string type = defines[0];
            //    int enumVal = 0;
            //    if (!int.TryParse(type, out enumVal)) continue;
            //    string name = ItemType.TryParse(enumVal); //; .TryParse()) GetName(typeof(ItemType), enumVal);
            //}
        }
    }
}
